package com.example.controller;

import java.text.SimpleDateFormat;

/**
 * @author ：fbb
 * @version ：1.0
 * @since 2022-02-14 21:56
 */
class ThreadSafeFormatter {
    public static ThreadLocal<SimpleDateFormat> dateFormatThreadLocal = new ThreadLocal() {
        @Override
        protected SimpleDateFormat initialValue() {
            return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        }
    };

}